<?php
/*
 * This file is part of shadon package.
 *
 * (c) shadon.org
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Shadon\CloudPrint\Exceptions;

/**
 * 打印配置异常类
 *
 * Class ConfigException
 */
class ConfigException extends Exception
{
    /**
     * @param string    $message  错误信息
     * @param int       $code     错误编号
     * @param Throwable $previous 上级异常
     */
    public function __construct(string $message = '', $code = null, Throwable $previous = null)
    {
        parent::__construct($message, (int) $code, $previous);
    }

}